hysop.backend.host.host_operator module¶
Abstract class providing a common interface to all discrete operators working on the Host backend.
HostOperatoris an abstract classused to provide a common interface to all discrete operators working with the opencl backend.
- class hysop.backend.host.host_operator.HostOperator(cl_env=None, **kwds)[source]¶
Bases:
HostOperatorBaseAbstract class for discrete operators working on cpu. HostOperator extra cl_env keyword parameter and enforces HOST backend.
Create the common attributes of all host operators.
All input and output variable topologies should be of kind Backend.HOST and share the same HostEnvironment.
- class hysop.backend.host.host_operator.HostOperatorBase(cl_env=None, **kwds)[source]¶
Bases:
ComputationalGraphOperatorAbstract class for discrete operators working on cpu. HostOperatorBase ignore the extra cl_env keyword parameter.
Create the common attributes of all host operators.
All input and output variable topologies should be of kind Backend.HOST and share the same HostEnvironment.